<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'favourableMonthReport.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
	<link rel="stylesheet" href="${staticPath }/static/bootstrap/bootstrap.min.css" />

	<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
	<link rel="stylesheet" href="${staticPath }/static/bootstrap/bootstrap-theme.min.css" />
  </head>  
  <body>
    <div style="width:75%;  margin: 0 auto;margin-top:25px"  >
    	<div style="margin-top:10px;text-align: right; margin-bottom:15px">
			<a href="/haierp1/bi/item/selectAccessToSmallPrograms" style="padding-left:5px;"><input type="button" value="切换到进入小程序方式报表"/></a>	
		</div>
  		<table class="table table-bordered">
  			<tr class="info">
  				<td>日期</td>
  				<td>总主订单数</td>
  				<td>砍价订单数</td>
  				<td>花币订单数</td>
  				<td>优惠券订单数</td>
  				<td>非优惠订单数</td>
  				<td>优惠总金额</td>
  			</tr>
			<c:forEach items="${favourableMonthList}" var="favourableMonthList" varStatus="status">
		 		<tr >  
		    	<td>${favourableMonthList.dimensionDate}</td>
		    	<td>${favourableMonthList.orderNum}</td>
		    	<td>${favourableMonthList.cutPriceNum}</td>
		    	<td>${favourableMonthList.flowerNum}</td>
		    	<td>${favourableMonthList.couponNum}</td>
		    	<td>${favourableMonthList.notCouponNum}</td>
		    	<td>${favourableMonthList.totalDiscountPrice}</td>
		  		</tr>
			</c:forEach>
		</table>
	</div>  
  </body>
</html>
